Vue and PrimeVue
The Centurion UI is built using Vue and PrimeVue. This page contains short tips and issues to assist with special development anomalies.
Firefox - Source map warnings
Developers can see warnings of No sources are declared in the source map and indeed, the optimized dependencies have empty generated source maps. These warnings are harmless but annoying.
Source map error: No sources are declared in this source map.
Resource URL: http://localhost:5173/node_modules/.vite/deps/primevue_button.js?v=00e45341
Source Map URL: primevue_button.js.map
These source maps are only needed for debugging. The console messages do not impact development.The warnings can be turned off if debugging is not in use.
In the Firefox console:
- Select the debugger tab
- Select the gear icon dropdown menu in the breakpoints section
- Disable the Source Maps selection